###爬取网站视频


# 网站视频链接
url="https://v5-dy-o-abtest.zjcdn.com/f2e9a0c28e04fffec6f8d0d26a7a13b6/67096955/video/tos/cn/tos-cn-ve-15/o0awiQgEh9zAeClfD2BEblhwFGHA9AQKIcAItg/?a=6383&ch=11&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=546&bt=546&cs=0&ds=6&ft=ijtp6aB0Uzdfm8d.BY4iJE3WJQiXIm0boVJEjWfTjbPD-Ipz&mime_type=video_mp4&qs=12&rc=NmVoOmVoODs1ZzRnMzdnaUBpMzs1azg6Zng6cTMzNGkzM0BiMmBhLmExNmMxMzBfYmI0YSNlLS8wcjRvZGxgLS1kLS9zcw%3D%3D&btag=80000e00028000&cc=46&cquery=100x_100z_100o_101n_100B&dy_q=1728659145&feature_id=46a7bb47b4fd1280f3d3825bf2b29388&l=2024101123054514E36E8E005B2A250230&req_cdn_type=&__vid=7345504280486448438"
# 导入请求模块
import requests

# 使用requents的get方法获取网页数据
res=requests.get(url)

# 响应码 200 成功 404 找不到网页
print(res.status_code)
# 响应内容 得到的视频数据
# print(res.content)
# 把得到的内容保存到电脑上
open(r'E:\Python-reptile\美女.flv','wb').write(res.content)